﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Common;
using DAL;

namespace BLL
{
    public class ModuleBll
    {
        ModuleDal moduleDal = new ModuleDal();
        /// <summary>
        /// 获取前台左侧菜单大类
        /// </summary>
        /// <returns></returns>
        public List<ModuleData> GetModuleGroup_UI()
        {
            return moduleDal.GetModuleGroup_UI();
        }
        /// <summary>
        /// 根据分类ID获取子类菜单
        /// </summary>
        /// <param name="ModelID"></param>
        /// <returns></returns>
        public List<ModuleData> GetModuleDetail_UI(string ModelID)
        {
            return moduleDal.GetModuleDetail_UI(ModelID);
        }
    }
}
